package com.team5.service.impl;

import com.team5.entity.CashFlow;
import com.team5.mapper.CashFlowMapper;
import com.team5.service.CashFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CashFlowServiceImpl implements CashFlowService {
    @Autowired
    private CashFlowMapper mapper;
    @Override
    public CashFlow findById(Integer id) {
        return mapper.findById(id);
    }

    @Override
    public CashFlow[] findAll() {
        return mapper.findAll();
    }
}
